package helper

func GetPager(index int, size int) (int, int) {
	if index < 1 {
		index = 1
	}
	if size < 1 {
		size = 10
	}
	return (index - 1) * size, size
}
